package cn.edu.scau.cmi.liujiaming.chapter02;

public class Example2_3{
	public static void main(String args[]) {
		Rectangle r=new Rectangle();
		r.width=1.819;
		r.height=1.5;
		double area=r.getArea();
		System.out.println("矩形的面积："+area);
	}
}
